//
//  AppNetworkingManager+OAPublic.h
//  OANetworkManager_Example
//
//  Created by TFAppleWork-Summer on 2018/3/7.
//  Copyright © 2018年 GuoRui. All rights reserved.
//

#import "AppNetworkingManager.h"

@interface AppNetworkingManager (OAPublic)



/**
 详情查询(异常、日报、请假、加班)

 @param reportId 报告id
 @param reportType 报告类型 100 - 异常维护 101 - 日报 102 - 请假 103 - 加班登记
 @param complet 接口回调
 返回的是：
 100 - ExceptionReportDetailObj
 101 - DailyReportDetailObj
 102 - LeaveReportDetailObj
 103 - OvertimeReportDetailObj
 */
+(TFRequest *)commmonGetInfoWithReportId:(NSString *)reportId
                                    type:(NSInteger)reportType
                                complete:(OANetworkingObjectBlock)complet;

/**
 删除记录（日报、请假、加班登记） (判断回调中的[object boolValue],errorInfo 取error.localizedDescription)

 @param reportId 报告id
 @param reportType 报告类型
 @param complete 接口回调
 */
+(TFRequest *)commonDelteWithReportId:(NSString *)reportId
                                 type:(NSInteger)reportType
                             complete:(OANetworkingObjectBlock) complete;


@end
